﻿namespace FireChat.Share.HTTP.Model;


/// <summary>
/// 账户会话令牌
/// </summary>
public class AccountToken
{
    /// <summary>
    /// 一个空的令牌
    /// </summary>
    public static AccountToken None { get; } = new() { UID = int.MinValue, Value = "" };



    /// <summary>
    ///令牌值
    /// </summary>
    public required string Value { get; init; }

    /// <summary>
    /// 账户ID
    /// </summary>
    public required int UID { get; init; }
}